Skip to content

MPP-4160: Modify Popup Banner - 4 Mask Limit #5546

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2025

Conversation

vpremamozilla
Copy link
Collaborator

@vpremamozilla vpremamozilla commented May 5, 2025

MPP-4160: Modify Popup Banner - 4 Mask Limit #5545

Screenshot

Screenshot 2025-05-05 at 9 57 48 AM

How to test

  • sign up as a new user
  • go through flow to generate a new mask x 4
  • popup in the corner should appear to have new text according to mockups
    image

Checklist (Definition of Done)

  • Product Owner accepted the User Story (demo of functionality completed) or waived the privilege.
  • Customer Experience team has seen or waived a demo of functionality.
  • All acceptance criteria are met.
  • Jira ticket has been updated (if needed) to match changes made during the development process.
  • I've added or updated relevant docs in the docs/ directory
  • Jira ticket has been updated (if needed) with suggestions for QA when this PR is deployed to stage.
  • All UI revisions follow the coding standards, and use Protocol / Nebula colors where applicable (see /frontend/src/styles/colors.scss).
  • Commits in this PR are minimal and have descriptive commit messages.
  • l10n changes have been submitted to the l10n repository, if any.

@vpremamozilla vpremamozilla changed the title MPP-4160-modify-popup-banner-4-mask MPP-4160: Modify Popup Banner - 4 Mask Limit May 5, 2025
@vpremamozilla vpremamozilla force-pushed the MPP-4160-modify-popup-banner-4-mask-again branch from 01cf2f5 to 7122fb5 Compare May 5, 2025 14:00
Copy link
Member

@groovecoder groovecoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned in Slack, and per our doc:

Do not re-use IDs for new or updated strings. The translations of existing strings are valid and used in live content. When updating content, add a digit to the string ID to signal it will replace another string. For example, premium-promo-availability-warning-4 replaces premium-promo-availability-warning-3. Remove the old strings when they are no longer referenced in the code.

And, since we're changing the us heading & description to match the non-us values, we could simplify this by introducing new message IDs:

upsell-banner-4-masks-heading = Get maximum email protection
upsell-banner-4-masks-description = Unlock unlimited email masks, reply directly from them, and create new ones instantly with your own { -brand-name-relay } subdomain - anytime, anywhere.

Note: need to check with Product that we can use this new no-phone description for both US and non-US.

Then, we can remove the us/non-us logic from CornerNotification.tsx.

@vpremamozilla
Copy link
Collaborator Author

Mentioned in Slack, and per our doc:

Do not re-use IDs for new or updated strings. The translations of existing strings are valid and used in live content. When updating content, add a digit to the string ID to signal it will replace another string. For example, premium-promo-availability-warning-4 replaces premium-promo-availability-warning-3. Remove the old strings when they are no longer referenced in the code.

And, since we're changing the us heading & description to match the non-us values, we could simplify this by introducing new message IDs:

upsell-banner-4-masks-heading = Get maximum email protection
upsell-banner-4-masks-description = Unlock unlimited email masks, reply directly from them, and create new ones instantly with your own { -brand-name-relay } subdomain - anytime, anywhere.

Note: need to check with Product that we can use this new no-phone description for both US and non-US.

Then, we can remove the us/non-us logic from CornerNotification.tsx.

i had the same thought about the us/non-us logic around CornerNotification.tsx

@vpremamozilla vpremamozilla force-pushed the MPP-4160-modify-popup-banner-4-mask-again branch from 7122fb5 to 6abf98c Compare May 5, 2025 15:52
Copy link
Member

@groovecoder groovecoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggestions (non-blocking): since we want to always show the same non-phone heading, description, and image in this upsell banner, we can remove all the isPhonesAvailable, region, and suffix logic.

@vpremamozilla vpremamozilla force-pushed the MPP-4160-modify-popup-banner-4-mask-again branch 2 times, most recently from 513d3ff to e4a148a Compare May 5, 2025 20:45
Copy link
Member

@groovecoder groovecoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Spot-check and code looks good. Just need to remove the isPhonesAvailable variable declaration to fix the frontend build error.

@vpremamozilla vpremamozilla force-pushed the MPP-4160-modify-popup-banner-4-mask-again branch 2 times, most recently from 7ae495e to deb0d18 Compare May 6, 2025 15:28
@vpremamozilla vpremamozilla force-pushed the MPP-4160-modify-popup-banner-4-mask-again branch from deb0d18 to a07c9cb Compare May 6, 2025 15:30
@groovecoder groovecoder added this pull request to the merge queue May 6, 2025
Merged via the queue into main with commit e154b90 May 6, 2025
33 checks passed
@groovecoder groovecoder deleted the MPP-4160-modify-popup-banner-4-mask-again branch May 6, 2025 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants